qemu: Accessing UART1 causes a data abort
authorMichalis Pappas <[email protected]>
Sat, 3 Mar 2018 10:26:11 +0000 (18:26 +0800)
committerMichalis Pappas <[email protected]>
Sun, 4 Mar 2018 06:04:25 +0000 (14:04 +0800)
The register address range of UART1 (crash console) are outside the
address ranges mapped for MMIO, resulting to an MMU abort when the
device registers are accessed.

Increase the size of DEVICE1 memory to include the range of UART1.

Fixes ARM-software/tf-issues#560

Signed-off-by: Michalis Pappas <[email protected]>
plat/qemu/include/platform_def.h

index afda4f8e6ae5e84e18353f9c00032776b847db33..417048f8e9a3f2117f43721886cc441d44f3d83a 100644 (file)
 #define DEVICE0_BASE                   0x08000000
 #define DEVICE0_SIZE                   0x00021000
 #define DEVICE1_BASE                   0x09000000
-#define DEVICE1_SIZE                   0x00011000
+#define DEVICE1_SIZE                   0x00041000
 
 /*
  * GIC related constants